<?php
namespace app\admin\controller;
use think\Controller;
use think\Db;

class Main extends Controller
{
    /**
     * 初始化
    */
    public function __construct()
    {
        parent::__construct();
        $admin_id  = session('admin_id');
        if (empty($admin_id)) {
            $this->redirect('admin/Login/index');
        }
    }

    public function checkAuth(){
    	
    }
}
